package com.zf.yichat.service;

import com.zf.yichat.model.MemberLevel;
import com.zf.yichat.model.MemberLevelPrivilege;
import com.zf.yichat.utils.response.FsResponse;

public interface MemberLevelService {


    MemberLevel selectLevelById(Long id);

    /**
     * 查询用户会员列表
     * @return
     */
    FsResponse selectLevelList();

    void addMemberLevel(MemberLevel level);

    void editMemberLevel(MemberLevel level);

    void deleteMemberLevel(Integer id);

    MemberLevelPrivilege selectLevelPrivilegeById(Long id);

    void addMemberLevelPrivilege(MemberLevelPrivilege level);

    void editMemberLevelPrivilege(MemberLevelPrivilege level);

    void deleteMemberLevelPrivilege(Integer id);

    /**
     * 查询等级特权信息
     * @param levelId
     * @return
     */
    FsResponse selectLevelPrivilegeList(Long levelId);
}
